.\" -*- nroff -*-
.\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md
.\"
.TH UMAD_ADDR_DUMP 3  "May 21, 2007" "OpenIB" "OpenIB Programmer's Manual"
.SH "NAME"
umad_addr_dump \- dump addr structure to stderr
.SH "SYNOPSIS"
.nf
.B #include <infiniband/umad.h>
.sp
.BI "void umad_addr_dump(ib_mad_addr_t " "*addr");
.fi
.SH "DESCRIPTION"
.B umad_addr_dump()
dumps the given
.I addr\fR
to stderr.
The argument
.I addr
is an
.I ib_mad_addr_t
struct, as specified in <infiniband/umad.h>.
.PP
.nf
typedef struct ib_mad_addr {
.in +8
uint32_t qpn;
uint32_t qkey;
uint16_t lid;
uint8_t  sl;
uint8_t  path_bits;
uint8_t  grh_present;
uint8_t  gid_index;
uint8_t  hop_limit;
uint8_t  traffic_class;
uint8_t  gid[16];
uint32_t flow_label;
.in -8
} ib_mad_addr_t;
.fi
.SH "RETURN VALUE"
.B umad_addr_dump()
returns no value.
.SH "AUTHOR"
.TP
Hal Rosenstock <halr@voltaire.com>
